<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>	
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	
	<title><tiles:getAsString name="title-content" /></title>

	<script>var menu = <tiles:getAsString name="breadcrumbs-content" /></script>
	
	<c:import url="stylesheet.jsp" />	
	<link rel="stylesheet" href="<%=request.getContextPath()%><tiles:getAsString name="stylesheet-content" />" type="text/css"/>
	
	<c:import url="script.jsp" />	
	<script type="text/javascript" src="<%=request.getContextPath()%><tiles:getAsString name="script-content" />"></script>
	<script type="text/javascript" language="javascript"> var contextPath = "<%= request.getContextPath() %>"; </script>	
	
</head>

<body onload="prettyPrint()">
	<div id="wrapper">
		<div id="left">
			<h1><a href="/"><b>Admin</b></a></h1>		
			<div id="menu-style"><c:import url="menu.jsp" /></div>
			<div id="credits">&#169; Copyright 2012 Rafael</div>
		</div>	
		<div id="right">	
			<div id="top-bar"><c:import url="top-bar.jsp" /></div>
			<div id="breadcrumbs"><c:import url="breadcrumbs.jsp" /></div>
			<div class="section"><c:import url="message.jsp" /></div>			
			<div id="main"><tiles:insertAttribute name="main-content" /></div>	
		</div>	
	</div>
</body>
</html> 